﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Ivy.Common.Framework.GeneralUtility;
using Ivy.UserRegistration.IBusinessLogic;
using Ivy.UserRegistration.BusinessLogic;
using Ivy.UserRegistration.Entity;
using HSMPWeb.ViewEntity;

namespace HSMPWeb.Pages
{
    public partial class LoginPage : System.Web.UI.Page
    {
        #region  Variable & constant
        List<string> lRoles = new List<string>();
        #endregion  Variable & constant

        #region Constructor & Destructor
        #endregion Constructor & Destructor

        #region Properties
        #endregion Properties

        #region Public Methods
        #endregion Public Methods

        #region Events
        protected void Page_Load(object sender, EventArgs e)
        {
            //lRoles.Clear();
            //lRoles.Add("01-SystemSuperAdmin");
            //lRoles.Add("02-SystemAdmin");
            //lRoles.Add("03-SystemOpreator");
            //lRoles.Add("04-SocietySuperAdmin");
            //lRoles.Add("05-SocietyAdmin");
            //lRoles.Add("06-SocietyOpreator");
            //lRoles.Add("07-Builder");
            //lRoles.Add("08-FlatOwner");
            //lRoles.Add("09-Resident");
            //lRoles.Add("10-Vendor");
            //this.dlsRole.DataSource = lRoles;
            ////ddchkCountry.DataTextField = "holiday_name";
            ////ddchkCountry.DataValueField = "holiday_name";
            //this.dlsRole.DataBind();
            //if (Session["UserContext"] != null)
            //{
            //    UserContext UserSession = (UserContext)(Session["UserContext"]);
            //    Page.RegisterStartupScript("myScript", "<script language=JavaScript>$('#login').hide(); $('#logout').show();</script>");
            //}
            //else
            //{
            //    Page.RegisterStartupScript("myScript", "<script language=JavaScript>$('#login').show(); $('#logout').hide();</script>");
            //}
        }

        protected void btnlgin_Click(object sender, EventArgs e)
        {
        }
        #endregion Events

        #region Private Methods
        
        #endregion Private Methods
        
    }
}